package com.example.springboot_demo.service;
public class ProductService {
    public void addProduct(String productName) {
        System.out.println("添加产品: " + productName);
    }

    public String getProduct(String productId) {
        System.out.println("查询产品: " + productId);
        return "Product:" + productId;
    }
}